const Charity = () => import("views/charity/Charity");
const CharityIndex = () => import("views/charity/child/CharityIndex");
const CharityMall = () => import("views/charity/child/CharityMall");
const StuCharity = () => import("views/charity/child/StuCharity");
const SkuTest = () => import("views/charity/child/SkuTest");

const PersonDonation = () => import("views/charity/PersonDonation");
const FeedbackInformation = () => import("views/charity/FeedbackInformation");

const PublicDonation = () => import("views/charity/child/PublicDonation");
const FeedbackForm = () => import("views/charity/child/FeedbackForm");
const InformationPublicity = () =>
  import("views/charity/child/InformationPublicity");
const PublishPage = () => import("views/charity/child/PublishPage.vue");

export default {
  path: "/charity",
  component: Charity,
  name: "/charity",
  redirect: "/charity/charityIndex",
  children: [
    //嵌套使用
    {
      path: "SkuTest",
      component: SkuTest,
      nama: "SkuTest",
      meta: {
        keepAlive: true //导航栏在该页面不予显示
      }
    },
    {
      path: "charityMall",
      component: CharityMall,
      nama: "charityMall",
      meta: {
        keepAlive: true //导航栏在该页面不予显示
      }
    },
    {
      path: "charityIndex",
      component: CharityIndex,
      name: "charityIndex",
      meta: {
        keepAlive: true //导航栏在该页面显示
      }
    },
    {
      path: "stucharity",
      component: StuCharity,
      name: "stucharity",
      meta: {
        keepAlive: false //导航栏在该页面不予显示
      }
    },
    {
      path: "persondonation",
      component: PersonDonation,
      name: "persondonation",
      meta: {
        keepAlive: true //导航栏在该页面显示
      }
    },
    {
      path: "publicdonation",
      component: PublicDonation,
      name: "publicdonation"
    },
    {
      path: "feedbackform",
      component: FeedbackForm,
      name: "feedbackform",
      meta: {
        keepfoot: true //底部栏不显示
      }
    },
    {
      path: "informationpublicity",
      component: InformationPublicity,
      name: "informationpublicity"
    },
    {
      path: "publishpage",
      component: PublishPage,
      name: "PublishPage"
    },
    {
      path: "feedbackinformation",
      component: FeedbackInformation,
      name: "FeedbackInformation"
    }
  ]
};
